package com.ssy.lingxi.member.merchant.model.dto;

import java.io.Serializable;

/**
 * 会员评价（交易、售后）汇总统计DTO
 * @author 万宁
 * @version 2.0.0
 * @date 2020-12-08
 */
public class CommentSummaryDTO implements Serializable {
    private static final long serialVersionUID = 5170568417673642139L;

    public CommentSummaryDTO() {
    }

    public CommentSummaryDTO(long total, long good, long medium, long bad) {
        this.total = total;
        this.good = good;
        this.medium = medium;
        this.bad = bad;
    }

    /**
     * 评论总数
     */
    private long total;

    /**
     * 好评（评论星级为5星）数
     */
    private long good;

    /**
     * 中评（评论星级为4星或3星）数
     */
    private long medium;

    /**
     * 差评（评论星级为2星或1星）数
     */
    private long bad;

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public long getGood() {
        return good;
    }

    public void setGood(long good) {
        this.good = good;
    }

    public long getMedium() {
        return medium;
    }

    public void setMedium(long medium) {
        this.medium = medium;
    }

    public long getBad() {
        return bad;
    }

    public void setBad(long bad) {
        this.bad = bad;
    }
}
